﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<!--<xsl:output encoding="gb2312"/>-->
	<xsl:strip-space elements="para"/>
	<xsl:template match="/dmodule">
		<html>
			<head>
				<meta charset="utf-8"/>
				<meta name="viewport" content="width=device-width, initial-scale=1"/>
				<title>IETM浏览器</title>
				<link rel="stylesheet" href="/css/important_css.css" type="text/css"/>
				<link type="text/css" href="/css/dm/s1000D.css" rel="stylesheet"/>
				<script type="text/javascript" src="/js/jquery.js"/>
				<script type="text/javascript" src="/js/jquery-ui.js"/>
				<script type="text/javascript" src="/js/UnityObject2.js"/>
				<script type="text/javascript" src="/js/procedure_api.js"/>
				<script type="text/javascript" src="/js/media.js"/>
				<script type="text/javascript" src="/js/dialog-help.js"/>
				<script type="text/javascript" src="/js/public.js"/>
				<script type="text/javascript" src="/js/jquery.form.js"/>
				<script type="text/javascript" src="/js/zebra_dialog.src.js"/>
				<script type="text/javascript" src="/js/Tdrag.js"/>
				<script type="text/javascript" src="/js/menu.js" charset="UTF-8"/>
				<script type="text/javascript" src="/js/note.js"/>
				<script type="text/javascript" src="/js/pprompt.js"/>
				<script type="text/javascript" src="/ietm/js/dm-plugin.js"/>
				<style type="text/css">
	    	body,html{background:#fff;width:100%;height:100%;overflow:auto}
			</style>
			</head>
			<body>
				<div class="home-d">
					<div class="home-d-t active">
						<div class="home-d-t-pub">
							<div class="home-d-t-title">
								<span>数据模块信息</span>
							</div>
						</div>
						<div class="home-d-t-content">
							<table width="50%" align="left" cellpadding="4" cellspacing="0">
								<tr>
									<td width="100%" colspan="2" style="font-weight:bold;">标识信息</td>
								</tr>
								<!--xml解析内容-->
								<tr>
									<td>数据模块编码:</td>
									<td>
										<xsl:for-each select="identAndStatusSection/dmAddress/dmIdent">
											<xsl:apply-templates select="dmCode" mode="dmCode"/>
										</xsl:for-each>
									</td>
								</tr>
								<tr>
									<td>版本信息:</td>
									<xsl:for-each select="identAndStatusSection/dmAddress/dmIdent">
										<xsl:apply-templates select="issueInfo" mode="issueInfo"/>
									</xsl:for-each>
								</tr>
								<tr>
									<td>发布日期:[yyyy-mm-dd]</td>
									<xsl:for-each select="identAndStatusSection/dmAddress/dmAddressItems">
										<xsl:apply-templates select="issueDate" mode="issueDate"/>
									</xsl:for-each>
								</tr>
								<tr>
									<td>语言:[国家/语言]</td>
									<xsl:for-each select="identAndStatusSection/dmAddress/dmIdent">
										<xsl:apply-templates select="language" mode="language"/>
									</xsl:for-each>
								</tr>
								<tr>
									<td/>
									<td/>
								</tr>
							</table>
							<table width="50%" align="right" cellpadding="0" cellspacing="0">
								<tr>
									<td width="100%" colspan="2" style="font-weight:bold;">状态信息</td>
								</tr>
								<!--xml解析内容-->
								<tr>
									<td>密级:</td>
									<xsl:for-each select="identAndStatusSection/dmStatus">
										<xsl:apply-templates select="security" mode="security"/>
									</xsl:for-each>
								</tr>
								<tr>
									<td>责任合作单位:</td>
									<xsl:for-each select="identAndStatusSection/dmStatus">
										<xsl:apply-templates select="responsiblePartnerCompany" mode="responsiblePartnerCompany"/>
									</xsl:for-each>
								</tr>
								<tr>
									<td>创作单位:</td>
									<xsl:for-each select="identAndStatusSection/dmStatus">
										<xsl:apply-templates select="originator" mode="originator"/>
									</xsl:for-each>
								</tr>
								<tr>
									<td>适用性信息:</td>
									<td>
										<xsl:value-of select="identAndStatusSection/dmStatus/applic/displayText/simplePara"/>
									</td>
								</tr>
								<tr>
									<td>质量验证:</td>
									<td>理论验证(TT)</td>
								</tr>
							</table>
						</div>
					</div>
					
					<div class="home-d-b">
						<!--左右的样式-->
						<div class="home-d-b-tow">
							<div>
								<div class="home-d-t-pub">
									<div class="home-d-t-title">
										<!--解析内容标题-->
										<span class="dmtitle">
											<xsl:for-each select="identAndStatusSection/dmAddress/dmAddressItems">
												<xsl:apply-templates select="dmTitle" mode="dmTitle"/>
											</xsl:for-each>
										</span>
									</div>
									<div class="home-d-t-syx">
										<span>适用性：
								<xsl:value-of select="identAndStatusSection/dmStatus/applic/displayText/simplePara"/>
										</span>
										<span>密级：
							<xsl:for-each select="identAndStatusSection/dmStatus">
												<xsl:apply-templates select="security" mode="security1"/>
											</xsl:for-each>
										</span>
										<span class="home-d-m-show">更多>></span>
										<span class="home-d-m-hide">隐藏>></span>
									</div>
								</div>
								<div class="home-d-b-content" id="article">
									<!--解析主题内容-->
									<xsl:choose>
										<xsl:when test="identAndStatusSection/dmAddress/dmIdent/dmCode/@infoCode='600'">
											<xsl:apply-templates select="content" mode="c-600"/>
										</xsl:when>
										<xsl:when test="identAndStatusSection/dmAddress/dmIdent/dmCode/@infoCode='601'">
											<xsl:apply-templates select="content" mode="c-601"/>
										</xsl:when>
										<xsl:when test="identAndStatusSection/dmAddress/dmIdent/dmCode/@infoCode='104'">
											<xsl:apply-templates select="content" mode="c-104"/>
										</xsl:when>
										<xsl:when test="identAndStatusSection/dmAddress/dmIdent/dmCode/@infoCode='420'">
											<xsl:apply-templates select="content" mode="c-104"/>
										</xsl:when>
										<xsl:otherwise>
											<xsl:apply-templates select="content" mode="c"/>
										</xsl:otherwise>
									</xsl:choose>
									<div class="content-btn">
										<a href="#" id="btn_db">
											<img src="/images/btn_db.png"/>
										</a>
										<a href="#" id="btn_syb">
											<img src="/images/btn_syb.png"/>
										</a>
										<a href="#" id="btn_xyb">
											<img src="/images/btn_xyb.png"/>
										</a>
									</div>
								</div>
							</div>
							<div class="home-d-b-towr" style="display:none">
								<div class="home-d-t-pub">
									<div class="home-d-t-title">
										<span>多媒体显示区</span>
									</div>
									<div class="home-d-t-syx">
										<div class="cgmu3dclose"/>
									</div>
									<div class="home-d-t-syx" style="margin-right:30px;">
										<div class="fullscreen"/>
									</div>
								</div>
								<div class="home-d-b-content" id="ietm-media">
						
						</div>
							</div>
						</div>
					</div>
				</div>
			</body>
		</html>
	</xsl:template>
	<!--主体结束，模板开始-->
	<!--图表解析-->
	<xsl:template match="*" mode="figure">
		<div class="figIndent">
		<a><xsl:if test="@id">
					<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
				</xsl:if></a>
			<xsl:for-each select="graphic/hotspot">
				<a>
					<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
				</a>
				<xsl:text>
			</xsl:text>
				<!--提取元素时要求换行-->
			</xsl:for-each>
			<a>
				<xsl:if test="graphic/hotspot/@id">
					<xsl:attribute name="name"><xsl:value-of select="substring(graphic/hotspot/@id,1,8)"/></xsl:attribute>
				</xsl:if>
				<!-- <xsl:value-of select="graphic/@infoEntityIdent"/> -->
			</a>
		</div>
		<div class="thumbnail">
			<a>
				<xsl:element name="image">
					<xsl:attribute name="alt">Thumbnail</xsl:attribute>
					<xsl:attribute name="id">%PICID%</xsl:attribute>
					<xsl:attribute name="class">thumbnail</xsl:attribute>
					<xsl:attribute name="height">100</xsl:attribute>
					<xsl:attribute name="src">%PATH%/<xsl:value-of select="graphic/@infoEntityIdent"/>.%ext%</xsl:attribute>
				</xsl:element>
				<!--	<xsl:if test="graphic/hotspot">
				<div style="display:none;">
					<table cellspacing="0" class="bordered cgm_hotspot_list">
						<thead>
							<tr>
								<th class="bordered">
									<p class="legend">部件号</p>
								</th>
								<th class="bordered">
									<p class="legend">描述</p>
								</th>
							</tr>
						</thead>
						<tbody>
							<xsl:for-each select="graphic/hotspot">
								<tr>
									<td class="bordered">
										<p class="legend cgm_hotspot_element">
											<xsl:value-of select="./@applicationStructureName"/>
										</p>
									</td>
									<td class="bordered">
										<p class="legend">
											<xsl:value-of select="./@objectDescr"/>
										</p>
									</td>
								</tr>
							</xsl:for-each>
						</tbody>
					</table>
				</div>
			</xsl:if>
		-->
			</a>
			<div class="textcenter"><xsl:if test="@id"><xsl:attribute name="idno"><xsl:value-of select="@id"/></xsl:attribute></xsl:if>多媒体 %PICNO% <xsl:value-of select="title"/>
			</div>
		</div>
		<div style="clear:both"/>
		<xsl:for-each select="legend/definitionList">
			<p class="indent">
				<xsl:apply-templates select="." mode="list"/>
			</p>
		</xsl:for-each>
	</xsl:template>
	<!--multimedia解析-->
	<xsl:template match="*" mode="multimedia">
		<div class="figIndent">
			<a>
				<xsl:attribute name="href">%PATH%/<xsl:value-of select="multimediaObject/@id"/>.html</xsl:attribute>
				<xsl:if test="@id">
					<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
				</xsl:if>
				<xsl:value-of select="multimediaObject/@id"/>
			</a>
		</div>
		<div class="thumbnail">
			<a>
				<xsl:element name="image">
					<xsl:attribute name="alt">Thumbnail</xsl:attribute>
					<xsl:attribute name="id">%PICID%</xsl:attribute>
					<xsl:attribute name="class">thumbnail</xsl:attribute>
					<xsl:attribute name="height">100</xsl:attribute>
					<xsl:attribute name="src">%PATH%/<xsl:value-of select="multimediaObject/@id"/>.%ext%</xsl:attribute>
				</xsl:element>
				<xsl:if test="//multimedia">
					<div style="display:none;">
						<table cellspacing="0" class="bordered cgm_hotspot_list">
							<thead>
								<tr>
									<th class="bordered">
										<p class="legend">序号</p>
									</th>
									<th class="bordered">
										<p class="legend">步骤</p>
									</th>
								</tr>
							</thead>
							<tbody>
								<xsl:for-each select="//mainProcedure/proceduralStep">
									<xsl:if test="@id">
										<tr>
											<td class="bordered">
												<p class="legend">
													<xsl:value-of select="position()"/>
												</p>
											</td>
											<td class="bordered">
												<p class="legend">
													<a>
														<xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
														<xsl:apply-templates select="." mode="para"/>
													</a>
												</p>
											</td>
										</tr>
									</xsl:if>
								</xsl:for-each>
							</tbody>
						</table>
					</div>
				</xsl:if>
			</a>
			<div class="textcenter"><xsl:if test="@id"><xsl:attribute name="idno"><xsl:value-of select="@id"/></xsl:attribute></xsl:if>多媒体 %PICNO% <xsl:value-of select="title"/>
			</div>
		</div>
		<div style="clear:both"/>
		<xsl:for-each select="legend/definitionList">
			<p class="indent">
				<xsl:apply-templates select="." mode="list"/>
			</p>
		</xsl:for-each>
	</xsl:template>
	<!--解析标题-->
	<xsl:template match="*" mode="dmTitle">
		<xsl:value-of select="techName"/> - <xsl:value-of select="infoName"/>
	</xsl:template>
	<!--解析资料编号_dm-->
	<xsl:template match="*" mode="dmCode">
		<xsl:value-of select="@modelIdentCode"/>-<xsl:value-of select="@systemDiffCode"/>-<xsl:value-of select="@systemCode"/>-<xsl:value-of select="@subSystemCode"/>
		<xsl:value-of select="@subSubSystemCode"/>-<xsl:value-of select="@assyCode"/>-<xsl:value-of select="@disassyCode"/>
		<xsl:value-of select="@disassyCodeVariant"/>-<xsl:value-of select="@infoCode"/>
		<xsl:value-of select="@infoCodeVariant"/>-<xsl:value-of select="@itemLocationCode"/>
	</xsl:template>
	<!--版本信息-->
	<xsl:template match="*" mode="issueInfo">
		<td>
	[版本号:<xsl:value-of select="@issueNumber"/>]
	<span style="display:none">
				<xsl:value-of select="@inWork"/>
			</span>
		</td>
	</xsl:template>
	<!--发布日期-->
	<xsl:template match="*" mode="issueDate">
		<td>
			<xsl:value-of select="@year"/>-<xsl:value-of select="@month"/>-<xsl:value-of select="@day"/>
		</td>
	</xsl:template>
	<!--语言-->
	<xsl:template match="*" mode="language">
		<td>
			<xsl:value-of select="@countryIsoCode"/>/<xsl:value-of select="@languageIsoCode"/>
		</td>
	</xsl:template>
	<!--秘级-->
	<xsl:template match="*" mode="security">
		<td>
			<xsl:choose>
				<xsl:when test="./@securityClassification='01'">
			[级别:01 公开]
		</xsl:when>
				<xsl:when test="./@securityClassification='02'">
			[级别:02 内部]
		</xsl:when>
				<xsl:when test="./@securityClassification='03'">
			[级别:03 秘密]
		</xsl:when>
				<xsl:when test="./@securityClassification='04'">
			[级别:04 机密]
		</xsl:when>
				<xsl:when test="./@securityClassification='05'">
			[级别:05 绝密]
		</xsl:when>
				<xsl:otherwise>
        </xsl:otherwise>
			</xsl:choose>
		</td>
	</xsl:template>
	<!--密级划分-->
	<!--秘级-->
	<xsl:template match="*" mode="security1">
		<xsl:choose>
			<xsl:when test="./@securityClassification='01'">
			公开
		</xsl:when>
			<xsl:when test="./@securityClassification='02'">
			内部
		</xsl:when>
			<xsl:when test="./@securityClassification='03'">
			秘密
		</xsl:when>
			<xsl:when test="./@securityClassification='04'">
			机密
		</xsl:when>
			<xsl:when test="./@securityClassification='05'">
			绝密
		</xsl:when>
			<xsl:otherwise>
        </xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<!--responsiblePartnerCompany-->
	<xsl:template match="*" mode="responsiblePartnerCompany">
		<td>
	[<xsl:value-of select="@enterpriseCode"/>]
</td>
	</xsl:template>
	<!--originator-->
	<xsl:template match="*" mode="originator">
		<td>
	[<xsl:value-of select="@enterpriseCode"/>]
</td>
	</xsl:template>
	<!--解析资料编号_pm-->
	<xsl:template match="*" mode="pmCode">
		<xsl:value-of select="@modelIdentCode"/>-<xsl:value-of select="@pmIssuer"/>-<xsl:value-of select="@pmNumber"/>-<xsl:value-of select="@pmVolume"/>
	</xsl:template>
	<!--解析主体内容600-->
	<xsl:template match="content" mode="c-600">
		<div id="content">
			<xsl:for-each select="refs">
				<xsl:apply-templates select="." mode="refs"/>
			</xsl:for-each>
			<xsl:for-each select="warningsAndCautions">
				<xsl:apply-templates select="*" mode="para_warning_caution_note"/>
			</xsl:for-each>
			<!--procedure节点-->
			<xsl:if test="procedure">
				<div>
					<xsl:for-each select="procedure">
						<table cellspacing="0" class="procedure bordered">
							<thead>
								<tr>
									<th class="procedure bordered" width="25%">
										<p class="table">维修项目编号</p>
									</th>
									<th class="procedure bordered" width="25%">
										<p class="table">子设备/零部件名称</p>
									</th>
									<th class="procedure bordered" width="25%">
										<p class="table">维修项目名称</p>
									</th>
									<th class="procedure bordered" width="25%">
										<p class="table">维修间隔期</p>
									</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<!--项目编号-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/zoneRef/@zoneNumber"/>
										</p>
									</td>
									<!--名称-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/zoneRef/name"/>
										</p>
									</td>
									<!--维修项目-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/accessPointRef/name"/>
										</p>
									</td>
									<!--维修间隔期-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/taskDuration/@procedureDuration"/>
										</p>
									</td>
								</tr>
								<tr>
									<!--安全注意事项-->
									<td colspan="4" class="procedure bordered">
										<xsl:for-each select="preliminaryRqmts/reqSafety">
											<xsl:apply-templates select="." mode="reqSafety"/>
										</xsl:for-each>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered">
										<p class="subtitle">保障设施、保障设备（工具）、备件、消耗材料、人力人员需求</p>
										<!--保障设施、保障设备（工具）-->
										<xsl:for-each select="preliminaryRqmts/reqSupportEquips">
											<xsl:apply-templates select="." mode="reqSupportEquips">
												<xsl:with-param name="title">保障设施、保障设备（工具）</xsl:with-param>
											</xsl:apply-templates>
										</xsl:for-each>
										<!--备品备件-->
										<xsl:for-each select="preliminaryRqmts/reqSpares">
											<xsl:apply-templates select="." mode="reqSpares"/>
										</xsl:for-each>
										<!--消耗材料-->
										<xsl:for-each select="preliminaryRqmts/reqSupplies">
											<xsl:apply-templates select="." mode="reqSupplies"/>
										</xsl:for-each>
										<!--人力人员-->
										<xsl:for-each select="preliminaryRqmts/reqPersons">
											<xsl:apply-templates select="." mode="reqPersons"/>
										</xsl:for-each>
										<!--修理步骤及工艺-->
										<!--准备条件-->
										<p class="subtitle">{{修理步骤及工艺}}</p>
										<a name="proced"/>
										<xsl:for-each select="preliminaryRqmts/reqCondGroup">
											<xsl:apply-templates select="." mode="reqCondGroup"/>
										</xsl:for-each>
										<xsl:if test="mainProcedure">
											<xsl:apply-templates select="mainProcedure"/>
										</xsl:if>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered">
										<!--验收标准-->
										<xsl:for-each select="closeRqmts">
											<a name="closereqs">
												<p class="subtitle" name="closereqs">{{验收标准}}</p>
											</a>
											<xsl:apply-templates select="." mode="closeRqmts"/>
										</xsl:for-each>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered right">
										<!--版本号-->
										<p class="table">
										版本号:<xsl:value-of select="/dmodule/identAndStatusSection/dmAddress/dmIdent/issueInfo/@issueNumber"/>
										</p>
									</td>
								</tr>
							</tbody>
						</table>
					</xsl:for-each>
				</div>
			</xsl:if>
		</div>
	</xsl:template>
	<!--解析主体内容601-->
	<xsl:template match="content" mode="c-601">
		<div id="content">
			<xsl:for-each select="refs">
				<xsl:apply-templates select="." mode="refs"/>
			</xsl:for-each>
			<xsl:for-each select="warningsAndCautions">
				<xsl:apply-templates select="*" mode="para_warning_caution_note"/>
			</xsl:for-each>
			<!--procedure节点-->
			<xsl:if test="procedure">
				<div>
					<xsl:for-each select="procedure">
						<table cellspacing="0" class="procedure bordered">
							<thead>
								<tr>
									<th class="procedure bordered" width="25%">
										<p class="table">日常维护项目编号</p>
									</th>
									<th class="procedure bordered" width="25%">
										<p class="table">子设备/零部件名称</p>
									</th>
									<th class="procedure bordered" width="25%">
										<p class="table">日常维护项目名称</p>
									</th>
									<th class="procedure bordered" width="25%">
										<p class="table">日常维护间隔期</p>
									</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<!--日常维护项目编号-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/zoneRef/@zoneNumber"/>
										</p>
									</td>
									<!--子设备/零部件名称-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/zoneRef/name"/>
										</p>
									</td>
									<!--日常维护项目名称-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/accessPointRef/name"/>
										</p>
									</td>
									<!--日常维护间隔期-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/taskDuration/@procedureDuration"/>
										</p>
									</td>
								</tr>
								<tr>
									<!--安全注意事项-->
									<td colspan="4" class="procedure bordered">
										<xsl:for-each select="preliminaryRqmts/reqSafety">
											<xsl:apply-templates select="." mode="reqSafety"/>
										</xsl:for-each>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered">
										<p class="subtitle">保障设备（工具）、备件、消耗材料、人力人员需求</p>
										<!--保障设施、保障设备（工具）-->
										<xsl:for-each select="preliminaryRqmts/reqSupportEquips">
											<xsl:apply-templates select="." mode="reqSupportEquips">
												<xsl:with-param name="title">保障设备（工具）</xsl:with-param>
											</xsl:apply-templates>
										</xsl:for-each>
										<!--备品备件-->
										<xsl:for-each select="preliminaryRqmts/reqSpares">
											<xsl:apply-templates select="." mode="reqSpares"/>
										</xsl:for-each>
										<!--消耗材料-->
										<xsl:for-each select="preliminaryRqmts/reqSupplies">
											<xsl:apply-templates select="." mode="reqSupplies"/>
										</xsl:for-each>
										<!--人力人员-->
										<xsl:for-each select="preliminaryRqmts/reqPersons">
											<xsl:apply-templates select="." mode="reqPersons"/>
										</xsl:for-each>
										<!--维护保养工艺 -->
										<p class="subtitle">{{维护保养工艺}}</p>
										<a name="proced"/>
										<xsl:for-each select="preliminaryRqmts/reqCondGroup">
											<xsl:apply-templates select="." mode="reqCondGroup"/>
										</xsl:for-each>
										<xsl:if test="mainProcedure">
											<xsl:apply-templates select="mainProcedure"/>
										</xsl:if>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered">
										<!--验收标准-->
										<xsl:for-each select="closeRqmts">
											<a name="closereqs">
												<p class="subtitle" name="closereqs">{{验收标准}}</p>
											</a>
											<xsl:apply-templates select="." mode="closeRqmts"/>
										</xsl:for-each>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered right">
										<!--版本号-->
										<p class="table">
										版本号:<xsl:value-of select="/dmodule/identAndStatusSection/dmAddress/dmIdent/issueInfo/@issueNumber"/>
										</p>
									</td>
								</tr>
							</tbody>
						</table>
					</xsl:for-each>
				</div>
			</xsl:if>
		</div>
	</xsl:template>
	<xsl:template match="content" mode="c-104">
		<div id="content">
			<xsl:for-each select="refs">
				<xsl:apply-templates select="." mode="refs"/>
			</xsl:for-each>
			<xsl:for-each select="warningsAndCautions">
				<xsl:apply-templates select="*" mode="para_warning_caution_note"/>
			</xsl:for-each>
			<!--procedure节点-->
			<xsl:if test="procedure">
				<div>
					<xsl:for-each select="procedure">
						<table cellspacing="0" class="procedure bordered">
							<thead>
								<tr>
									<th class="procedure bordered" width="50%">
										<p class="table">使用操作项目编号</p>
									</th>
									<th class="procedure bordered" width="50%">
										<p class="table">使用操作项目名称</p>
									</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<!--使用操作项目编号-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/zoneRef/@zoneNumber"/>
										</p>
									</td>
									<!--使用操作项目名称-->
									<td class="procedure bordered">
										<p class="table">
											<xsl:value-of select="preliminaryRqmts/productionMaintData/accessPointRef/name"/>
										</p>
									</td>
								</tr>
								<tr>
									<!--安全注意事项-->
									<td colspan="4" class="procedure bordered">
										<xsl:for-each select="preliminaryRqmts/reqSafety">
											<xsl:apply-templates select="." mode="reqSafety"/>
										</xsl:for-each>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered">
										<p class="subtitle">保障设施、保障设备（工具）、人力人员需求</p>
										<!--保障设施、保障设备（工具）-->
										<xsl:for-each select="preliminaryRqmts/reqSupportEquips">
											<xsl:apply-templates select="." mode="reqSupportEquips">
												<xsl:with-param name="title">保障设施、保障设备（工具）</xsl:with-param>
											</xsl:apply-templates>
										</xsl:for-each>
										<!--人力人员-->
										<xsl:for-each select="preliminaryRqmts/reqPersons">
											<xsl:apply-templates select="." mode="reqPersons"/>
										</xsl:for-each>
										<!--操作步骤-->
										<!--准备条件-->
										<p class="subtitle">{{操作步骤}}</p>
										<a name="proced"/>
										<xsl:for-each select="preliminaryRqmts/reqCondGroup">
											<xsl:apply-templates select="." mode="reqCondGroup"/>
										</xsl:for-each>
										<xsl:if test="mainProcedure">
											<xsl:apply-templates select="mainProcedure"/>
										</xsl:if>
									</td>
								</tr>
								<tr>
									<td colspan="4" class="procedure bordered">
										<!--验收标准-->
										<xsl:for-each select="closeRqmts">
											<a name="closereqs">
												<p class="subtitle" name="closereqs">{{验收标准}}</p>
											</a>
											<xsl:apply-templates select="." mode="closeRqmts"/>
										</xsl:for-each>
									</td>
								</tr>
							</tbody>
						</table>
					</xsl:for-each>
				</div>
			</xsl:if>
		</div>
	</xsl:template>
	<!--解析主体内容-->
	<xsl:template match="content" mode="c">
		<div id="content">
			<xsl:for-each select="refs">
				<xsl:apply-templates select="." mode="refs"/>
			</xsl:for-each>
			<xsl:for-each select="warningsAndCautions">
				<xsl:apply-templates select="*" mode="para_warning_caution_note"/>
			</xsl:for-each>
			<!--procedure节点-->
			<xsl:if test="procedure">
				<div>
					<xsl:for-each select="procedure">
						<!--公共信息-->
						<xsl:for-each select="commonInfo">
							<xsl:for-each select="commonInfoDescrPara/title">
								<p class="titleItalic">{{<xsl:value-of select="."/>}}</p>
							</xsl:for-each>
							<xsl:for-each select="commonInfoDescrPara/para">
								<p class="indent">
									<xsl:apply-templates select="." mode="para"/>
								</p>
							</xsl:for-each>
							<xsl:for-each select="title">
								<p class="titleItalic">{{<xsl:value-of select="."/>}}</p>
							</xsl:for-each>
							<xsl:for-each select="para">
								<p class="indent">
									<xsl:apply-templates select="." mode="para"/>
								</p>
							</xsl:for-each>
						</xsl:for-each>
						<!--必要准备工作_开始-->
						<xsl:for-each select="preliminaryRqmts">
							<xsl:apply-templates select="." mode="preliminaryRqmts"/>
						</xsl:for-each>
						<!--必要准备工作_结束-->
						<!--mainProcedure循环节点-->
						<xsl:if test="mainProcedure">
							<p class="titleItalic">{{程序}}</p>
							<a name="proced"/>
							<xsl:apply-templates select="mainProcedure"/>
						</xsl:if>
						<!--工作结束后条件_开始-->
						<xsl:for-each select="closeRqmts">
							<a name="closereqs">
								<p class="titleItalic" name="closereqs">{{工作结束后条件}}</p>
							</a>
							<xsl:for-each select="reqCondGroup">
								<xsl:apply-templates select="." mode="reqCondGroup"/>
							</xsl:for-each>
						</xsl:for-each>
						<!--工作结束后条件_结束-->
					</xsl:for-each>
				</div>
			</xsl:if>
		</div>
	</xsl:template>
	<!--mainProcedure节点解析-->
	<xsl:template match="mainProcedure">
		<xsl:for-each select="*">
			<xsl:if test="name(.) = 'figure'">
				<xsl:apply-templates select="." mode="figure"/>
			</xsl:if>
			<xsl:if test="name(.) = 'table'">
				<xsl:apply-templates select="." mode="table"/>
			</xsl:if>
			<!--multimedia节点-->
			<xsl:if test="name(.) = 'multimedia'">
				<xsl:apply-templates select="." mode="multimedia"/>
			</xsl:if>
			<xsl:if test="name(.) = 'proceduralStep'">
				<a name="procedural_step_start"/>
				<xsl:apply-templates select="." mode="proceduralStep">
					<xsl:with-param name="num">
						<xsl:number level="single" count="proceduralStep" format="1."/>
					</xsl:with-param>
					<xsl:with-param name="level" select="1"/>
					<xsl:with-param name="count" select="count(../proceduralStep)"/>
				</xsl:apply-templates>
				<a name="procedural_step_end"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<!--proceduralStep节点解析-->
	<xsl:template match="*" mode="proceduralStep">
		<xsl:param name="num"/>
		<xsl:param name="level"/>
		<xsl:param name="count"/>
		<xsl:if test="@id">
			<a>
				<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
			</a>
		</xsl:if>
		<!--title节点处理-->
		<xsl:choose>
			<xsl:when test="title">
				<p class="subtitle">
					<xsl:if test="$count &gt; 1 or $level &gt; 1">
						<xsl:value-of select="$num"/>
						<span class="blank"/>
					</xsl:if>
					<xsl:apply-templates select="title" mode="para"/>
				</p>
			</xsl:when>
			<xsl:otherwise>
				<!--<span class="subtitle"><xsl:value-of select="$num"/><span class="blank"></span></span>-->
			</xsl:otherwise>
		</xsl:choose>
		<xsl:for-each select="*">
			<xsl:if test="name(.) = 'warning' or name(.) = 'caution' or name(.) = 'note'">
				<xsl:apply-templates select="." mode="para_warning_caution_note"/>
			</xsl:if>
			<xsl:if test="name(.) = 'para'">
				<xsl:variable name="para_number">
					<xsl:number level="single" count="para"/>
				</xsl:variable>
				<xsl:choose>
					<xsl:when test="../title">
						<p class="indent">
							<xsl:apply-templates select="." mode="para"/>
						</p>
					</xsl:when>
					<xsl:otherwise>
						<xsl:choose>
							<xsl:when test="$para_number = 1">
								<p class="para">
									<xsl:if test="$count &gt; 1 or $level &gt; 1">
										<span class="para">
											<xsl:value-of select="$num"/>
											<span class="blank"/>
										</span>
									</xsl:if>
									<xsl:apply-templates select="." mode="para"/>
								</p>
							</xsl:when>
							<xsl:otherwise>
								<p class="indent">
									<xsl:apply-templates select="." mode="para"/>
								</p>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:if>
			<!--table节点-->
			<xsl:if test="name(.) = 'table'">
				<xsl:apply-templates select="." mode="table"/>
			</xsl:if>
			<!--figure节点-->
			<xsl:if test="name(.) = 'figure'">
				<xsl:apply-templates select="." mode="figure"/>
			</xsl:if>
			<!--proceduralStep递归调用-->
			<xsl:if test="name(.) = 'proceduralStep'">
				<xsl:choose>
					<xsl:when test="$level=1">
						<xsl:apply-templates select="." mode="proceduralStep">
							<xsl:with-param name="num">
								<xsl:number level="single" count="proceduralStep" format="1）"/>
							</xsl:with-param>
							<xsl:with-param name="level" select="$level+1"/>
						</xsl:apply-templates>
					</xsl:when>
					<xsl:when test="$level=2">
						<xsl:apply-templates select="." mode="proceduralStep">
							<xsl:with-param name="num">
								<xsl:number level="single" count="proceduralStep" format="(1）"/>
							</xsl:with-param>
							<xsl:with-param name="level" select="$level+1"/>
						</xsl:apply-templates>
					</xsl:when>
					<xsl:otherwise>
						<xsl:apply-templates select="." mode="proceduralStep">
							<xsl:with-param name="num">
								<xsl:number level="multiple" count="proceduralStep"/>
							</xsl:with-param>
							<xsl:with-param name="level" select="$level+1"/>
						</xsl:apply-templates>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="handlepagefragment5">
		<xsl:param name="appId5"/>
		<!--  <xsl:for-each select="//dmodule//identAndStatusSection//dmStatus//referencedApplicGroup//applic"> -->
		<xsl:for-each select="//table//tgroup//colspec">
			<xsl:if test="@colname=$appId5">
				<!--	<xsl:value-of select="number(@colnum)"/> -->
				<xsl:number value="@colnum"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="handlepagefragment6">
		<xsl:param name="appId6"/>
		<!--  <xsl:for-each select="//dmodule//identAndStatusSection//dmStatus//referencedApplicGroup//applic"> -->
		<xsl:for-each select="//table//tgroup//colspec">
			<xsl:if test="@colname=$appId6">
				<xsl:value-of select="number(@colnum)"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template match="*" mode="table">
		<table class="bordered" cellspacing="0" width="800px">
			<caption class="tableTitle">表 %TABLENO% <xsl:value-of select="title"/>
				<xsl:if test="@id">
					<a>
						<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
					</a>
				</xsl:if>
			</caption>
			<colgroup>
				<col/>
				<col/>
				<col/>
			</colgroup>
			<xsl:if test="tgroup/thead/row">
				<thead>
					<xsl:for-each select="tgroup/thead/row">
						<tr>
							<xsl:for-each select="entry">
								<xsl:if test="emphasis">
									<th class="bordered">
										<p class="table">
											<xsl:apply-templates select="." mode="emphasis"/>
										</p>
									</th>
								</xsl:if>
								<xsl:choose>
									<xsl:when test="./@morerows">
										<xsl:element name="th">
											<xsl:attribute name="class">bordered</xsl:attribute>
											<xsl:attribute name="rowspan"><xsl:value-of select="./@morerows + 1"/></xsl:attribute>
											<xsl:attribute name="colspan">
											<xsl:value-of select="./@nameend - ./@namest + 1"/>
											</xsl:attribute>
											<!--<xsl:for-each select="para">-->
											<p class="table">
												<b>
													<xsl:apply-templates select="." mode="para"/>
												</b>
											</p>
											<!--</xsl:for-each>-->
										</xsl:element>
									</xsl:when>
									<xsl:when test="./@namest">
										<xsl:element name="th">
											<xsl:attribute name="class">bordered</xsl:attribute>
											<xsl:attribute name="colspan">
											<xsl:value-of select="./@nameend - ./@namest + 1"/>
											</xsl:attribute>
											<p class="table">
												<b>
													<xsl:apply-templates select="." mode="para"/>
												</b>
											</p>
										</xsl:element>
									</xsl:when>
									<xsl:otherwise>
										<!--<xsl:choose>
												<xsl:when test="para!=''">
												    <td class="bordered">
														<p class="table">
															<xsl:apply-templates select="." mode="para"/>
														</p>
													</td>
												</xsl:when>
												<xsl:when test="internalRef">
												    <td class="bordered">
														<p class="table">
															<xsl:apply-templates select="." mode="internalRef"/>
														</p>
													</td>
												</xsl:when>
											</xsl:choose>-->
										<xsl:if test="para!=''">
											<td class="bordered">
												<p class="table">
													<xsl:apply-templates select="." mode="para"/>
												</p>
											</td>
										</xsl:if>
										<xsl:for-each select="internalRef">
											<td class="bordered">
												<p class="table">
													<xsl:apply-templates select="." mode="internalRef11"/>
												</p>
											</td>
										</xsl:for-each>
										<xsl:if test="count(child::*)=0">
											<td class="bordered">
												<p class="table">
													<xsl:text> </xsl:text>
												</p>
											</td>
										</xsl:if>
										<xsl:if test="randomList">
											<td class="bordered">
												<p class="table">
													<xsl:for-each select="randomList">
														<xsl:for-each select="listItem">
															<xsl:if test="../@listItemPrefix = 'pf02'">
																<xsl:text>- </xsl:text>
															</xsl:if>
															<xsl:if test="../@listItemPrefix = 'pf01'">
																<xsl:text> </xsl:text>
															</xsl:if>
															<xsl:if test="../@listItemPrefix = 'pf03'">
																<xsl:text>- </xsl:text>
															</xsl:if>
															<xsl:if test="../@listItemPrefix = 'pf04'">
																<xsl:text>⊙ </xsl:text>
															</xsl:if>
															<xsl:if test="../@listItemPrefix = 'pf05'">
																<xsl:text>○ </xsl:text>
															</xsl:if>
															<xsl:if test="../@listItemPrefix = 'pf06'">
																<xsl:text>□ </xsl:text>
															</xsl:if>
															<xsl:if test="../@listItemPrefix = 'pf07'">
																<xsl:text>• </xsl:text>
															</xsl:if>
															<xsl:for-each select="para">
																<xsl:apply-templates select="." mode="para"/>
															</xsl:for-each>
														</xsl:for-each>
													</xsl:for-each>
												</p>
											</td>
										</xsl:if>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:for-each>
						</tr>
					</xsl:for-each>
				</thead>
			</xsl:if>
			<tbody>
				<xsl:if test="tgroup/tbody/row">
					<xsl:for-each select="tgroup/tbody/row">
						<tr>
							<xsl:for-each select="entry">
								<xsl:choose>
									<xsl:when test="./@morerows">
										<xsl:element name="td">
											<xsl:attribute name="class">bordered</xsl:attribute>
											<xsl:attribute name="rowspan"><xsl:value-of select="./@morerows + 1"/></xsl:attribute>
											<xsl:for-each select="para">
												<p class="table">
													<xsl:apply-templates select="." mode="para"/>
												</p>
											</xsl:for-each>
										</xsl:element>
									</xsl:when>
									<xsl:otherwise>
										<xsl:choose>
											<xsl:when test="./@namest">
												<xsl:element name="td">
													<xsl:attribute name="class">bordered</xsl:attribute>
													<xsl:attribute name="colspan">
													<xsl:value-of select="./@nameend - ./@namest + 1"/>
													</xsl:attribute>
													<xsl:for-each select="para">
														<p class="table">
															<xsl:apply-templates select="." mode="para"/>
														</p>
													</xsl:for-each>
												</xsl:element>
											</xsl:when>
											<xsl:otherwise>
												<td class="bordered">
													<xsl:for-each select="para">
														<p class="table">
															<xsl:apply-templates select="." mode="para"/>
														</p>
													</xsl:for-each>
												</td>
											</xsl:otherwise>
										</xsl:choose>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:for-each>
						</tr>
					</xsl:for-each>
				</xsl:if>
			</tbody>
		</table>
	</xsl:template>
	<!--internalRef内容解析-->
	<xsl:template match="*" mode="internalRef">
		<xsl:param name="name111"/>
		<xsl:param name="name">
			<xsl:value-of select="@internalRefTargetType"/>
		</xsl:param>
		<xsl:param name="value">
			<xsl:value-of select="normalize-space(@internalRefId)"/>
		</xsl:param>
		<xsl:param name="text"/>
		<!--para-->
		<xsl:if test="$name = 'para'">
			<a>
				<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>段落 </xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<!--
-->
		<xsl:if test="$name = 'figure'">
			<xsl:for-each select="//*">
				<xsl:if test="name(.)=$name">
					<xsl:if test="@id=$value">
						<!--<xsl:with-param name="name111"><xsl:value-of select="$value"/></xsl:with-param>-->
						<a>
							<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
							<xsl:choose>
								<xsl:when test="$text=''">
									<xsl:text>多媒体 </xsl:text>
									<xsl:text> </xsl:text>
								</xsl:when>
								<xsl:otherwise>
									<xsl:value-of select="$text"/>
									<xsl:text> </xsl:text>
								</xsl:otherwise>
							</xsl:choose>
						</a>
					</xsl:if>
				</xsl:if>
			</xsl:for-each>
		</xsl:if>
		<!--supequip-->
		<xsl:if test="$name = 'supequip'">
			<xsl:for-each select="//supportEquipDescrGroup">
				<xsl:for-each select="supportEquipDescr">
					<xsl:if test="@id = $value">
						<a>
							<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
							<xsl:value-of select="name"/>
						</a>
					</xsl:if>
				</xsl:for-each>
			</xsl:for-each>
		</xsl:if>
		<!--supply-->
		<xsl:if test="$name = 'supply'">
			<xsl:for-each select="//supplyDescrGroup">
				<xsl:for-each select="supplyDescr">
					<xsl:if test="@id = $value">
						<a>
							<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
							<xsl:value-of select="name"/>
						</a>
					</xsl:if>
				</xsl:for-each>
			</xsl:for-each>
		</xsl:if>
		<!--spares-->
		<xsl:if test="$name = 'spares'">
			<xsl:for-each select="//spareDescrGroup">
				<xsl:for-each select="spareDescr">
					<xsl:if test="@id = $value">
						<a>
							<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
							<xsl:value-of select="name"/>
						</a>
					</xsl:if>
				</xsl:for-each>
			</xsl:for-each>
		</xsl:if>
		<!--step-->
		<xsl:if test="$name = 'step'">
			<a>
				<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>步骤 </xsl:text>
						<xsl:text> </xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<!--table-->
		<xsl:if test="$name = 'table'">
			<a>
				<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>表格 </xsl:text>
						<xsl:text> </xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<!--irtt01-->
		<xsl:if test="$name = 'irtt01'">
			<a>
				<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>多媒体 </xsl:text>
						<xsl:text> </xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<!--irtt02-->
		<xsl:if test="$name = 'irtt02'">
			<a>
				<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>表格 </xsl:text>
						<xsl:text> </xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<!--irtt05-->
		<xsl:if test="$name = 'irtt05'">
			<xsl:for-each select="//supportEquipDescrGroup">
				<xsl:for-each select="supportEquipDescr">
					<xsl:if test="@id = $value">
						<a>
							<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
							<xsl:value-of select="name"/>
						</a>
					</xsl:if>
				</xsl:for-each>
			</xsl:for-each>
		</xsl:if>
		<!--irtt07-->
		<xsl:if test="$name = 'irtt07'">
			<a>
				<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>段落 </xsl:text>
						<xsl:text> </xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<!--irtt11-->
		<xsl:if test="$name = 'irtt11'">
			<a>
				<xsl:attribute name="href">#<xsl:value-of select="$value"/></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>多媒体 </xsl:text>
						<xsl:text> </xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<!--hotspot-->
		<xsl:if test="$name = 'hotspot'">
			<xsl:value-of select="text()"/>
			<a>
				<xsl:attribute name="href">#</xsl:attribute>
				<xsl:attribute name="name"><xsl:value-of select="$name"/></xsl:attribute>
				<xsl:attribute name="id"><!--<xsl:value-of select="$value"/>--><xsl:call-template name="handlepagefragment"><xsl:with-param name="appId" select="@internalRefId"/></xsl:call-template></xsl:attribute>
				<xsl:attribute name="hotspot"><!--<xsl:value-of select="$value"/>--><xsl:call-template name="handlepagefragment88"><xsl:with-param name="appId" select="@internalRefId"/></xsl:call-template></xsl:attribute>
				<xsl:attribute name="applicationStructureName"><!--<xsl:value-of select="$value"/>--><xsl:call-template name="handlepagefragment99"><xsl:with-param name="appId" select="@internalRefId"/></xsl:call-template></xsl:attribute>
				<xsl:attribute name="infoEntityIdent"><xsl:call-template name="handlepagefragment1"><xsl:with-param name="appId1" select="@internalRefId"/></xsl:call-template></xsl:attribute>
				<xsl:choose>
					<xsl:when test="$text=''">
						<xsl:text>多媒体[</xsl:text>
						<xsl:call-template name="handlepagefragment2">
							<xsl:with-param name="appId" select="@internalRefId"/>
						</xsl:call-template>
						<!--<xsl:value-of select="number(substring(./@internalRefId,23,4))"/>-->
						<xsl:text>]</xsl:text>
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="$text"/>
						<xsl:text> </xsl:text>
					</xsl:otherwise>
				</xsl:choose>
			</a>
		</xsl:if>
		<xsl:if test="$name = 'u3d'">
			<a onclick="clickU3d(this)" name="u3dclick">
				<xsl:attribute name="href">#</xsl:attribute>
				<xsl:attribute name="id"><xsl:value-of select="@internalRefId"/></xsl:attribute>
			[U3D]
		</a>
			<!--<xsl:value-of select="../text()"/><xsl:text> </xsl:text>-->
		</xsl:if>
	</xsl:template>
	<xsl:template name="handlepagefragment">
		<xsl:param name="appId"/>
		<!--  <xsl:for-each select="//dmodule//identAndStatusSection//dmStatus//referencedApplicGroup//applic"> -->
		<xsl:for-each select="//figure//graphic//hotspot">
			<xsl:if test="@id=$appId">
				<xsl:value-of select="@id"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="handlepagefragment88">
		<xsl:param name="appId"/>
		<!--  <xsl:for-each select="//dmodule//identAndStatusSection//dmStatus//referencedApplicGroup//applic"> -->
		<xsl:for-each select="//figure//graphic//hotspot">
			<xsl:if test="@id=$appId">
				<xsl:value-of select="@applicationStructureName"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="handlepagefragment99">
		<xsl:param name="appId"/>
		<!--  <xsl:for-each select="//dmodule//identAndStatusSection//dmStatus//referencedApplicGroup//applic"> -->
		<xsl:for-each select="//figure//graphic//hotspot">
			<xsl:if test="@id=$appId">
				<xsl:value-of select="@applicationStructureName"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="handlepagefragment2">
		<xsl:param name="appId"/>
		<!--  <xsl:for-each select="//dmodule//identAndStatusSection//dmStatus//referencedApplicGroup//applic"> -->
		<xsl:for-each select="//figure//graphic//hotspot">
			<xsl:if test="@id=$appId">
				<xsl:value-of select="@applicationStructureName"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="handlepagefragment1">
		<xsl:param name="appId1"/>
		<!--  <xsl:for-each select="//dmodule//identAndStatusSection//dmStatus//referencedApplicGroup//applic"> -->
		<xsl:for-each select="//figure//graphic//hotspot">
			<xsl:if test="@id=$appId1">
				<xsl:value-of select="../@infoEntityIdent"/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<!--preliminaryRqmts节点解析-->
	<xsl:template match="*" mode="preliminaryRqmts">
		<a name="prelreqs">
			<p class="titleItalic">{{必要准备工作}}</p>
		</a>
		<!--必要条件-->
		<xsl:for-each select=".">
			<!--reqCondGroup节点解析-->
			<xsl:for-each select="reqCondGroup">
				<xsl:apply-templates select="." mode="reqCondGroup"/>
			</xsl:for-each>
			<!--reqPersons节点解析-->
			<xsl:for-each select="reqPersons">
				<xsl:apply-templates select="." mode="reqPersons"/>
			</xsl:for-each>
			<!--reqTechInfoGroup节点解析-->
			<xsl:for-each select="reqTechInfoGroup">
				<xsl:apply-templates select="." mode="reqTechInfoGroup"/>
			</xsl:for-each>
			<!--reqSupportEquips节点解析-->
			<xsl:for-each select="reqSupportEquips">
				<xsl:apply-templates select="." mode="reqSupportEquips"/>
			</xsl:for-each>
			<!--reqSupplies节点解析-->
			<xsl:for-each select="reqSupplies">
				<xsl:apply-templates select="." mode="reqSupplies"/>
			</xsl:for-each>
			<!--reqSpares节点解析-->
			<xsl:for-each select="reqSpares">
				<xsl:apply-templates select="." mode="reqSpares"/>
			</xsl:for-each>
			<!--reqSafety节点解析-->
			<xsl:for-each select="reqSafety">
				<xsl:apply-templates select="." mode="reqSafety"/>
			</xsl:for-each>
		</xsl:for-each>
	</xsl:template>
	<!--reqCondGroup节点解析-->
	<xsl:template match="*" mode="reqCondGroup">
		<a name="reqconds"/>
		<xsl:for-each select="*">
			<!--reqCondDm节点-->
			<xsl:if test="name(.) = 'reqCondDm'">
				<div class="indent">
					<xsl:value-of select="reqCond"/>
					<xsl:apply-templates select="*" mode="dmRef"/>
				</div>
			</xsl:if>
			<!--reqCondPm节点-->
			<xsl:if test="name(.) = 'reqCondPm'">
				<div class="indent">
					<xsl:value-of select="reqCond"/>
					<xsl:apply-templates select="pmRef/pmRefIdent/pmCode" mode="pmCode"/>
				</div>
			</xsl:if>
			<!--reqCondNoRef节点-->
			<xsl:if test="name(.) = 'reqCondNoRef'">
				<div class="indent">
					<xsl:apply-templates select="reqCond" mode="para"/>
				</div>
			</xsl:if>
			<!--reqCondCircuitBreaker节点-->
			<xsl:if test="name(.) = 'reqCondCircuitBreaker'">
				<div class="indent">
					<xsl:value-of select="reqCond"/>
				</div>
			</xsl:if>
			<!--reqCondExternalPub节点-->
			<xsl:if test="name(.) = 'reqCondExternalPub'">
				<div class="indent">
					<xsl:value-of select="reqCond"/>
					<xsl:value-of select="externalPubRef/externalPubRefIdent/externalPubCode/@pubCodingScheme"/>-<xsl:value-of select="externalPubRef/externalPubRefIdent/externalPubCode"/>
				</div>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<!--reqPersons节点解析-->
	<xsl:template match="*" mode="reqPersons">
		<table cellspacing="0" class="bordered" width="100%">
			<div class="tableTitle">%TABLENO%） 人力人员</div>
			<thead>
				<tr>
					<th class="bordered" width="20%">
						<p class="table">序号</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">专业</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">人数</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">技能等级</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">备注</p>
					</th>
				</tr>
			</thead>
			<tbody>
				<xsl:choose>
					<xsl:when test="noPersons">
						<tr>
							<td class="bordered">
								<p class="table">无</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
						</tr>
					</xsl:when>
					<xsl:otherwise>
						<xsl:for-each select="person">
							<tr>
								<!--序号-->
								<td class="bordered">
									<p class="table">
										<xsl:value-of select="position()"/>
									</p>
								</td>
								<!--专业-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="trade=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="trade"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--人数-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="@man=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="@man"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--技能等级-->
								<td class="bordered">
									<p class="table">
										<xsl:variable name="skill" select="personSkill/@skillLevelCode"/>
										<xsl:choose>
											<xsl:when test="$skill='sk01'">初级</xsl:when>
											<xsl:when test="$skill='sk02'">中级</xsl:when>
											<xsl:when test="$skill='sk03'">高级</xsl:when>
											<xsl:otherwise>-</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--备注-->
								<td class="bordered">
									<xsl:choose>
										<xsl:when test="estimatedTime=''">-</xsl:when>
										<xsl:otherwise>
											<xsl:value-of select="estimatedTime"/>
										</xsl:otherwise>
									</xsl:choose>
								</td>
							</tr>
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</tbody>
		</table>
	</xsl:template>
	<!--personSkill节点解析-->
	<xsl:template match="*" mode="personSkill">
		<xsl:if test="@skillLevelCode = 'sk01'">
			<xsl:text>初级</xsl:text>
		</xsl:if>
		<xsl:if test="@skillLevelCode = 'sk02'">
			<xsl:text>中级</xsl:text>
		</xsl:if>
		<xsl:if test="@skillLevelCode = 'sk03'">
			<xsl:text>高级</xsl:text>
		</xsl:if>
	</xsl:template>
	<xsl:template name="loop">
		<xsl:param name="Count"/>
		<xsl:if test="$Count&lt;1"/>
		<xsl:if test="$Count&gt;1">
			<tr>
				<td class="bordered">
					<p class="table">As required</p>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
			</tr>
			<xsl:value-of select="$Count"/>
			<xsl:call-template name="loop">
				<xsl:with-param name="Count">
					<xsl:value-of select="number($Count)-1"/>
				</xsl:with-param>
			</xsl:call-template>
		</xsl:if>
		<xsl:if test="$Count=1">
			<tr>
				<td class="bordered">
					<p class="table">As required</p>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
				<td class="bordered">
					<p class="table"/>
				</td>
			</tr>
		</xsl:if>
	</xsl:template>
	<!--reqTechInfoGroup节点解析-->
	<xsl:template match="*" mode="reqTechInfoGroup">

</xsl:template>
	<!--reqSupportEquips节点解析-->
	<xsl:template match="*" mode="reqSupportEquips">
		<xsl:param name="title"/>
		<table cellspacing="0" class="bordered" width="100%">
			<div class="tableTitle"> %TABLENO%） <xsl:value-of select="$title"/>
			</div>
			<thead>
				<tr>
					<th class="bordered" width="20%">
						<p class="table">序号</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">名称</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">规格/型号</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">数量及单位</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">备注</p>
					</th>
				</tr>
			</thead>
			<tbody>
				<xsl:choose>
					<xsl:when test="noSupportEquips">
						<tr>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
						</tr>
					</xsl:when>
					<xsl:otherwise>
						<xsl:for-each select="supportEquipDescrGroup/supportEquipDescr">
							<tr>
								<!--序号-->
								<td class="bordered">
									<p class="table">
										<xsl:value-of select="position()"/>
									</p>
								</td>
								<!--名称-->
								<td class="bordered">
									<xsl:if test="@id">
										<a>
											<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
										</a>
									</xsl:if>
									<p class="table">
										<xsl:choose>
											<xsl:when test="name=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="name"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--规格/型号-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="natoStockNumber=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="natoStockNumber"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--数量及单位-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="reqQuantity=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="reqQuantity"/>
												<xsl:value-of select="reqQuantity/@unitOfMeasure"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--备注-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="remarks/simplePara=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="remarks/simplePara"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
							</tr>
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</tbody>
		</table>
	</xsl:template>
	<!--reqSupplies节点解析-->
	<xsl:template match="*" mode="reqSupplies">
		<table cellspacing="0" class="bordered" width="100%">
			<div class="tableTitle">%TABLENO%） 消耗材料</div>
			<thead>
				<tr>
					<th class="bordered" width="20%">
						<p class="table">序号</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">名称</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">牌号/品级/规格</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">消耗数量</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">备注</p>
					</th>
				</tr>
			</thead>
			<tbody>
				<xsl:choose>
					<xsl:when test="noSupplies">
						<tr>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
						</tr>
					</xsl:when>
					<xsl:otherwise>
						<xsl:for-each select="supplyDescrGroup/supplyDescr">
							<tr>
								<!--序号-->
								<td class="bordered">
									<p class="table">
										<xsl:value-of select="position()"/>
									</p>
								</td>
								<!--名称-->
								<td class="bordered">
									<xsl:if test="@id">
										<a>
											<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
										</a>
									</xsl:if>
									<p class="table">
										<xsl:choose>
											<xsl:when test="name=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="name"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--牌号/品级/规格-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="natoStockNumber=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="natoStockNumber"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--消耗数量-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="reqQuantity=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="reqQuantity"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--备注-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="remarks/simplePara=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="remarks/simplePara"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
							</tr>
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</tbody>
		</table>
	</xsl:template>
	<!--reqSpares节点解析-->
	<xsl:template match="*" mode="reqSpares">
		<table cellspacing="0" class="bordered" width="100%">
			<div class="tableTitle">%TABLENO%） 备品备件</div>
			<thead>
				<tr>
					<th class="bordered" width="20%">
						<p class="table">序号</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">名称</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">规格/型号</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">消耗数量</p>
					</th>
					<th class="bordered" width="20%">
						<p class="table">备注</p>
					</th>
				</tr>
			</thead>
			<tbody>
				<xsl:choose>
					<xsl:when test="noSpares">
						<tr>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
							<td class="bordered">
								<p class="table">-</p>
							</td>
						</tr>
					</xsl:when>
					<xsl:otherwise>
						<xsl:for-each select="spareDescrGroup/spareDescr">
							<tr>
								<!--序号-->
								<td class="bordered">
									<p class="table">
										<xsl:value-of select="position()"/>
									</p>
								</td>
								<!--名称-->
								<td class="bordered">
									<xsl:if test="@id">
										<a>
											<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
										</a>
									</xsl:if>
									<p class="table">
										<xsl:choose>
											<xsl:when test="name=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="name"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--规格/型号-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="natoStockNumber=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="natoStockNumber"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--消耗数量-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="reqQuantity=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="reqQuantity"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
								<!--备注-->
								<td class="bordered">
									<p class="table">
										<xsl:choose>
											<xsl:when test="remarks/simplePara=''">-</xsl:when>
											<xsl:otherwise>
												<xsl:value-of select="remarks/simplePara"/>
											</xsl:otherwise>
										</xsl:choose>
									</p>
								</td>
							</tr>
						</xsl:for-each>
					</xsl:otherwise>
				</xsl:choose>
			</tbody>
		</table>
	</xsl:template>
	<!--closeRqmts节点解析-->
	<xsl:template match="*" mode="closeRqmts">
		<xsl:for-each select="reqCondGroup/reqCondNoRef">
			<p class="indent">
				<xsl:value-of select="position()"/>.
				<xsl:value-of select="reqCond"/>
			</p>
		</xsl:for-each>
	</xsl:template>
	<!--reqSafety节点解析-->
	<xsl:template match="*" mode="reqSafety">
		<xsl:for-each select="safetyRqmts">
			<xsl:choose>
				<xsl:when test="noSafety">
		</xsl:when>
				<xsl:otherwise>
					<p class="subtitle">{{安全注意事项}}</p>
					<xsl:for-each select="*">
						<xsl:apply-templates select="." mode="para_warning_caution_note"/>
					</xsl:for-each>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:for-each>
	</xsl:template>
	<!--list节点解析-->
	<xsl:template match="*" mode="list">
		<xsl:if test="name(.) = 'sequentialList'">
			<xsl:if test="title">
				<xsl:apply-templates select="title" mode="para"/>
			</xsl:if>
			<xsl:for-each select="listItem">
				<div class="indent">
					<xsl:value-of select="position()"/>
					<xsl:text>. </xsl:text>
					<xsl:for-each select="para">
						<xsl:apply-templates select="." mode="para"/>
					</xsl:for-each>
				</div>
			</xsl:for-each>
		</xsl:if>
		<xsl:if test="name(.) = 'randomList'">
			<xsl:if test="title">
				<xsl:apply-templates select="title" mode="para"/>
			</xsl:if>
			<xsl:for-each select="listItem">
				<div class="indent">
					<xsl:if test="../@listItemPrefix = 'pf02'">
						<xsl:text>- </xsl:text>
					</xsl:if>
					<xsl:if test="../@listItemPrefix = 'pf01'">
						<xsl:text>? </xsl:text>
					</xsl:if>
					<xsl:for-each select="para">
						<xsl:choose>
							<xsl:when test="child::*">
								<xsl:apply-templates select="." mode="para"/>
							</xsl:when>
							<xsl:otherwise>
								<xsl:text>- </xsl:text>
								<xsl:apply-templates select="." mode="para"/>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:for-each>
				</div>
			</xsl:for-each>
		</xsl:if>
		<xsl:if test="name(.) = 'definitionList'">
			<table class="tableIndent">
				<xsl:if test="title">
					<!--<caption class="tableTitle">表 %TABLENO% <xsl:value-of select="title"/></caption>-->
				</xsl:if>
				<tbody>
					<xsl:for-each select="definitionListHeader">
						<tr>
							<th>
								<xsl:value-of select="termTitle"/>
							</th>
							<th>
								<xsl:value-of select="definitionTitle"/>
							</th>
						</tr>
					</xsl:for-each>
					<xsl:for-each select="definitionListItem">
						<tr>
							<xsl:if test="listItemTerm">
								<td class="clear">
									<xsl:value-of select="listItemTerm"/>
								</td>
								<td class="clear">
									<xsl:apply-templates select="listItemDefinition/para" mode="para"/>
								</td>
							</xsl:if>
						</tr>
					</xsl:for-each>
				</tbody>
			</table>
		</xsl:if>
		<xsl:if test="name(.) = 'attentionRandomList'">
			<xsl:for-each select="attentionRandomListItem">
				<xsl:for-each select="attentionListItemPara">
					<xsl:text>- </xsl:text>
					<xsl:apply-templates select="." mode="para"/>
				</xsl:for-each>
			</xsl:for-each>
		</xsl:if>
	</xsl:template>
	<!--para节点解析-->
	<xsl:template match="*" mode="para">
		<xsl:choose>
			<xsl:when test="./child::*">
				<xsl:value-of select="./text()"/>
				<xsl:for-each select="*">
					<xsl:if test="normalize-space(internalRef)=' '">
						<xsl:value-of select="./text()"/>
					</xsl:if>
					<!-- <xsl:if test="internalRef">
				<xsl:value-of select="./text()"/>
			</xsl:if> -->
					<!--para节点-->
					<xsl:if test="name(.) = 'para'">
						<xsl:apply-templates select="." mode="para"/>
					</xsl:if>
					<!--internalRef节点-->
					<xsl:if test="name(.) = 'internalRef'">
						<xsl:apply-templates select="." mode="internalRef"/>
					</xsl:if>
					<xsl:if test="name(.) = 'randomList'">
						<xsl:if test="title">
							<xsl:apply-templates select="title" mode="para"/>
						</xsl:if>
						<xsl:for-each select="listItem">
							<div class="indent1">
								<xsl:choose>
									<xsl:when test="../@listItemPrefix = 'pf01'">
										<xsl:text> </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf03'">
										<xsl:text>- </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf04'">
										<xsl:text>⊙ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf05'">
										<xsl:text>○ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf06'">
										<xsl:text>□ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf07'">
										<xsl:text>• </xsl:text>
									</xsl:when>
									<xsl:otherwise>
										<xsl:text>- </xsl:text>
									</xsl:otherwise>
								</xsl:choose>
								<!--<xsl:if test="../@listItemPrefix = 'pf02'">
												<xsl:text>- </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf01'">
											<xsl:text> </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf03'">
											<xsl:text>- </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf04'">
											<xsl:text>⊙ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf05'">
											<xsl:text>○ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf06'">
											<xsl:text>□ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf07'">
											<xsl:text>• </xsl:text>
										</xsl:if>-->
								<xsl:for-each select="para">
									<xsl:apply-templates select="." mode="para1"/>
								</xsl:for-each>
							</div>
						</xsl:for-each>
					</xsl:if>
					<!--list节点-->
					<xsl:if test="name(.) = 'sequentialList' or name(.) = 'definitionList' or name(.) = 'attentionRandomList'">
						<xsl:apply-templates select="." mode="list"/>
					</xsl:if>
					<!--superScript节点-->
					<xsl:if test="name(.) = 'superScript'">
						<sup>
							<xsl:value-of select="."/>
						</sup>
					</xsl:if>
					<!--subScript节点-->
					<xsl:if test="name(.) = 'subScript'">
						<sub>
							<xsl:value-of select="."/>
						</sub>
					</xsl:if>
					<!--symbol节点-->
					<xsl:if test="name(.) = 'symbol'">
						<xsl:choose>
							<xsl:when test="./@infoEntityIdent">
								<xsl:element name="image">
									<xsl:attribute name="alt">symbol</xsl:attribute>
									<xsl:attribute name="height">100</xsl:attribute>
									<xsl:attribute name="src">%PATH%/<xsl:value-of select="./@infoEntityIdent"/>.%ext%</xsl:attribute>
								</xsl:element>
							</xsl:when>
							<xsl:otherwise>
								<img src="/img/symbol.jpg" alt="symbol"/>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:if>
					<!--emphasis节点-->
					<xsl:if test="name(.) = 'emphasis'">
						<xsl:apply-templates select="." mode="emphasis"/>
					</xsl:if>
					<!--dmRef节点-->
					<xsl:if test="name(.) = 'dmRef'">
						<xsl:apply-templates select="." mode="dmRef"/>
					</xsl:if>
					<xsl:apply-templates select=".." mode="text">
						<xsl:with-param name="dnum">
							<xsl:value-of select="position() + 1"/>
						</xsl:with-param>
					</xsl:apply-templates>
				</xsl:for-each>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="."/>
				<br/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template match="*" mode="para1">
		<xsl:choose>
			<xsl:when test="./child::*">
				<xsl:value-of select="./text()"/>
				<xsl:for-each select="*">
					<!--internalRef节点-->
					<xsl:if test="name(.) = 'internalRef'">
						<xsl:apply-templates select="." mode="internalRef"/>
					</xsl:if>
					<xsl:if test="name(.) = 'randomList'">
						<xsl:if test="title">
							<xsl:apply-templates select="title" mode="para"/>
						</xsl:if>
						<xsl:for-each select="listItem">
							<div class="indent1">
								<xsl:choose>
									<xsl:when test="../@listItemPrefix = 'pf01'">
										<xsl:text> </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf03'">
										<xsl:text>- </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf04'">
										<xsl:text>⊙ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf05'">
										<xsl:text>○ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf06'">
										<xsl:text>□ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf07'">
										<xsl:text>• </xsl:text>
									</xsl:when>
									<xsl:otherwise>
										<xsl:text>• </xsl:text>
									</xsl:otherwise>
								</xsl:choose>
								<!--<xsl:if test="../@listItemPrefix = 'pf02'">
												<xsl:text>. </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf01'">
											<xsl:text> </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf03'">
											<xsl:text>- </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf04'">
											<xsl:text>⊙ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf05'">
											<xsl:text>○ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf06'">
											<xsl:text>□ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf07'">
											<xsl:text>• </xsl:text>
										</xsl:if>-->
								<xsl:for-each select="para">
									<xsl:apply-templates select="." mode="para2"/>
								</xsl:for-each>
							</div>
						</xsl:for-each>
					</xsl:if>
					<!--list节点-->
					<xsl:if test="name(.) = 'sequentialList'  or name(.) = 'definitionList'">
						<xsl:apply-templates select="." mode="list">
							<xsl:with-param name="a1">
								<xsl:value-of select="position() + 1"/>
							</xsl:with-param>
						</xsl:apply-templates>
					</xsl:if>
					<!--superScript节点-->
					<xsl:if test="name(.) = 'superScript'">
						<sup>
							<xsl:value-of select="."/>
						</sup>
					</xsl:if>
					<!--subScript节点-->
					<xsl:if test="name(.) = 'subScript'">
						<sub>
							<xsl:value-of select="."/>
						</sub>
					</xsl:if>
					<!--symbol节点-->
					<xsl:if test="name(.) = 'symbol'">
						<xsl:choose>
							<xsl:when test="./@infoEntityIdent">
								<xsl:element name="image">
									<xsl:attribute name="alt">symbol</xsl:attribute>
									<xsl:attribute name="height">100</xsl:attribute>
									<xsl:attribute name="src">%PATH%/<xsl:value-of select="./@infoEntityIdent"/>.%ext%</xsl:attribute>
								</xsl:element>
							</xsl:when>
							<xsl:otherwise>
								<img src="/img/symbol.jpg" alt="symbol"/>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:if>
					<!--emphasis节点-->
					<xsl:if test="name(.) = 'emphasis'">
						<xsl:apply-templates select="." mode="emphasis"/>
					</xsl:if>
					<!--dmRef节点-->
					<xsl:if test="name(.) = 'dmRef'">
						<xsl:apply-templates select="." mode="dmRef"/>
					</xsl:if>
					<xsl:apply-templates select=".." mode="text">
						<xsl:with-param name="dnum">
							<xsl:value-of select="position() + 1"/>
						</xsl:with-param>
					</xsl:apply-templates>
				</xsl:for-each>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="."/>
				<br/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template match="*" mode="para2">
		<xsl:choose>
			<xsl:when test="./child::*">
				<xsl:value-of select="./text()"/>
				<xsl:for-each select="*">
					<!--internalRef节点-->
					<xsl:if test="name(.) = 'internalRef'">
						<xsl:apply-templates select="." mode="internalRef"/>
					</xsl:if>
					<xsl:if test="name(.) = 'randomList'">
						<xsl:if test="title">
							<xsl:apply-templates select="title" mode="para"/>
						</xsl:if>
						<xsl:for-each select="listItem">
							<div class="indent1">
								<xsl:if test="../@listItemPrefix = 'pf02'">
									<xsl:text>- </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf01'">
									<xsl:text> </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf03'">
									<xsl:text>- </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf04'">
									<xsl:text>⊙ </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf05'">
									<xsl:text>○ </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf06'">
									<xsl:text>□ </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf07'">
									<xsl:text>• </xsl:text>
								</xsl:if>
								<xsl:for-each select="para">
									<xsl:apply-templates select="." mode="para3"/>
								</xsl:for-each>
							</div>
						</xsl:for-each>
					</xsl:if>
					<!--list节点-->
					<xsl:if test="name(.) = 'sequentialList'  or name(.) = 'definitionList'">
						<xsl:apply-templates select="." mode="list">
							<xsl:with-param name="a1">
								<xsl:value-of select="position() + 1"/>
							</xsl:with-param>
						</xsl:apply-templates>
					</xsl:if>
					<!--superScript节点-->
					<xsl:if test="name(.) = 'superScript'">
						<sup>
							<xsl:value-of select="."/>
						</sup>
					</xsl:if>
					<!--subScript节点-->
					<xsl:if test="name(.) = 'subScript'">
						<sub>
							<xsl:value-of select="."/>
						</sub>
					</xsl:if>
					<!--symbol节点-->
					<xsl:if test="name(.) = 'symbol'">
						<xsl:choose>
							<xsl:when test="./@infoEntityIdent">
								<xsl:element name="image">
									<xsl:attribute name="alt">symbol</xsl:attribute>
									<xsl:attribute name="height">100</xsl:attribute>
									<xsl:attribute name="src">%PATH%/<xsl:value-of select="./@infoEntityIdent"/>.%ext%</xsl:attribute>
								</xsl:element>
							</xsl:when>
							<xsl:otherwise>
								<img src="/img/symbol.jpg" alt="symbol"/>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:if>
					<!--emphasis节点-->
					<xsl:if test="name(.) = 'emphasis'">
						<xsl:apply-templates select="." mode="emphasis"/>
					</xsl:if>
					<!--dmRef节点-->
					<xsl:if test="name(.) = 'dmRef'">
						<xsl:apply-templates select="." mode="dmRef"/>
					</xsl:if>
					<xsl:apply-templates select=".." mode="text">
						<xsl:with-param name="dnum">
							<xsl:value-of select="position() + 1"/>
						</xsl:with-param>
					</xsl:apply-templates>
				</xsl:for-each>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="."/>
				<br/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template match="*" mode="para3">
		<xsl:choose>
			<xsl:when test="./child::*">
				<xsl:value-of select="./text()"/>
				<xsl:for-each select="*">
					<!--internalRef节点-->
					<xsl:if test="name(.) = 'internalRef'">
						<xsl:apply-templates select="." mode="internalRef"/>
					</xsl:if>
					<xsl:if test="name(.) = 'randomList'">
						<xsl:if test="title">
							<xsl:apply-templates select="title" mode="para"/>
						</xsl:if>
						<xsl:for-each select="listItem">
							<div class="indent1">
								<xsl:choose>
									<xsl:when test="../@listItemPrefix = 'pf01'">
										<xsl:text> </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf03'">
										<xsl:text>- </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf04'">
										<xsl:text>⊙ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf05'">
										<xsl:text>○ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf06'">
										<xsl:text>□ </xsl:text>
									</xsl:when>
									<xsl:when test="../@listItemPrefix = 'pf07'">
										<xsl:text>• </xsl:text>
									</xsl:when>
									<xsl:otherwise>
										<xsl:text>- </xsl:text>
									</xsl:otherwise>
								</xsl:choose>
								<!--<xsl:if test="../@listItemPrefix = 'pf02'">
												<xsl:text>. </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf01'">
											<xsl:text> </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf03'">
											<xsl:text>- </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf04'">
											<xsl:text>⊙ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf05'">
											<xsl:text>○ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf06'">
											<xsl:text>□ </xsl:text>
										</xsl:if>
										<xsl:if test="../@listItemPrefix = 'pf07'">
											<xsl:text>• </xsl:text>
										</xsl:if>-->
								<xsl:for-each select="para">
									<xsl:apply-templates select="." mode="para4"/>
								</xsl:for-each>
							</div>
						</xsl:for-each>
					</xsl:if>
					<!--list节点-->
					<xsl:if test="name(.) = 'sequentialList'  or name(.) = 'definitionList'">
						<xsl:apply-templates select="." mode="list">
							<xsl:with-param name="a1">
								<xsl:value-of select="position() + 1"/>
							</xsl:with-param>
						</xsl:apply-templates>
					</xsl:if>
					<!--superScript节点-->
					<xsl:if test="name(.) = 'superScript'">
						<sup>
							<xsl:value-of select="."/>
						</sup>
					</xsl:if>
					<!--subScript节点-->
					<xsl:if test="name(.) = 'subScript'">
						<sub>
							<xsl:value-of select="."/>
						</sub>
					</xsl:if>
					<!--symbol节点-->
					<xsl:if test="name(.) = 'symbol'">
						<xsl:choose>
							<xsl:when test="./@infoEntityIdent">
								<xsl:element name="image">
									<xsl:attribute name="alt">symbol</xsl:attribute>
									<xsl:attribute name="height">100</xsl:attribute>
									<xsl:attribute name="src">%PATH%/<xsl:value-of select="./@infoEntityIdent"/>.%ext%</xsl:attribute>
								</xsl:element>
							</xsl:when>
							<xsl:otherwise>
								<img src="/img/symbol.jpg" alt="symbol"/>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:if>
					<!--emphasis节点-->
					<xsl:if test="name(.) = 'emphasis'">
						<xsl:apply-templates select="." mode="emphasis"/>
					</xsl:if>
					<!--dmRef节点-->
					<xsl:if test="name(.) = 'dmRef'">
						<xsl:apply-templates select="." mode="dmRef"/>
					</xsl:if>
					<xsl:apply-templates select=".." mode="text">
						<xsl:with-param name="dnum">
							<xsl:value-of select="position() + 1"/>
						</xsl:with-param>
					</xsl:apply-templates>
				</xsl:for-each>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="."/>
				<br/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template match="*" mode="para4">
		<xsl:choose>
			<xsl:when test="./child::*">
				<xsl:value-of select="./text()"/>
				<xsl:for-each select="*">
					<!--internalRef节点-->
					<xsl:if test="name(.) = 'internalRef'">
						<xsl:apply-templates select="." mode="internalRef"/>
					</xsl:if>
					<xsl:if test="name(.) = 'randomList'">
						<xsl:if test="title">
							<xsl:apply-templates select="title" mode="para"/>
						</xsl:if>
						<xsl:for-each select="listItem">
							<div class="indent1">
								<xsl:if test="../@listItemPrefix = 'pf02'">
									<xsl:text>. </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf01'">
									<xsl:text> </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf03'">
									<xsl:text>- </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf04'">
									<xsl:text>⊙ </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf05'">
									<xsl:text>○ </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf06'">
									<xsl:text>□ </xsl:text>
								</xsl:if>
								<xsl:if test="../@listItemPrefix = 'pf07'">
									<xsl:text>• </xsl:text>
								</xsl:if>
								<xsl:for-each select="para">
									<xsl:apply-templates select="." mode="para4"/>
								</xsl:for-each>
							</div>
						</xsl:for-each>
					</xsl:if>
					<!--list节点-->
					<xsl:if test="name(.) = 'sequentialList'  or name(.) = 'definitionList'">
						<xsl:apply-templates select="." mode="list">
							<xsl:with-param name="a1">
								<xsl:value-of select="position() + 1"/>
							</xsl:with-param>
						</xsl:apply-templates>
					</xsl:if>
					<!--superScript节点-->
					<xsl:if test="name(.) = 'superScript'">
						<sup>
							<xsl:value-of select="."/>
						</sup>
					</xsl:if>
					<!--subScript节点-->
					<xsl:if test="name(.) = 'subScript'">
						<sub>
							<xsl:value-of select="."/>
						</sub>
					</xsl:if>
					<!--symbol节点-->
					<xsl:if test="name(.) = 'symbol'">
						<xsl:choose>
							<xsl:when test="./@infoEntityIdent">
								<xsl:element name="image">
									<xsl:attribute name="alt">symbol</xsl:attribute>
									<xsl:attribute name="height">100</xsl:attribute>
									<xsl:attribute name="src">%PATH%/<xsl:value-of select="./@infoEntityIdent"/>.%ext%</xsl:attribute>
								</xsl:element>
							</xsl:when>
							<xsl:otherwise>
								<img src="/img/symbol.jpg" alt="symbol"/>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:if>
					<!--emphasis节点-->
					<xsl:if test="name(.) = 'emphasis'">
						<xsl:apply-templates select="." mode="emphasis"/>
					</xsl:if>
					<!--dmRef节点-->
					<xsl:if test="name(.) = 'dmRef'">
						<xsl:apply-templates select="." mode="dmRef"/>
					</xsl:if>
					<xsl:apply-templates select=".." mode="text">
						<xsl:with-param name="dnum">
							<xsl:value-of select="position() + 1"/>
						</xsl:with-param>
					</xsl:apply-templates>
				</xsl:for-each>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="."/>
				<br/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<!--emphasis内容解析-->
	<xsl:template match="*" mode="emphasis">
		<xsl:choose>
			<xsl:when test="@emphasisType">
				<!--em01节点(加粗)-->
				<xsl:if test="@emphasisType = 'em01'">
					<b>
						<xsl:value-of select="."/>
					</b>
				</xsl:if>
				<!--em02节点(斜体)-->
				<xsl:if test="@emphasisType = 'em02'">
					<i>
						<xsl:value-of select="."/>
					</i>
				</xsl:if>
				<!--em03节点(下划线)-->
				<xsl:if test="@emphasisType = 'em03'">
					<span style="TEXT-DECORATION: underline">
						<xsl:value-of select="."/>
					</span>
				</xsl:if>
				<!--em04节点(上划线)-->
				<xsl:if test="@emphasisType = 'em04'">
					<span style="TEXT-DECORATION: overline">
						<xsl:value-of select="."/>
					</span>
				</xsl:if>
				<!--em05节点(删除线)-->
				<xsl:if test="@emphasisType = 'em05'">
					<span style="TEXT-DECORATION: line-through">
						<xsl:value-of select="."/>
					</span>
				</xsl:if>
			</xsl:when>
			<xsl:otherwise>
				<!--em节点(加粗)默认情况-->
				<xsl:choose>
					<xsl:when test="./child::*">
						<b>
							<xsl:apply-templates select="." mode="para"/>
						</b>
					</xsl:when>
					<xsl:otherwise>
						<b>
							<xsl:value-of select="."/>
						</b>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<!--text内容解析-->
	<xsl:template match="*" mode="text">
		<xsl:param name="dnum"/>
		<xsl:value-of select="text()[number($dnum)]"/>
	</xsl:template>
	<!--para_warning_caution_note内容解析-->
	<xsl:template match="*" mode="para_warning_caution_note">
		<!--para节点-->
		<xsl:if test="name(.) = 'para'">
			<p class="indent">
				<xsl:apply-templates select="." mode="para"/>
			</p>
		</xsl:if>
		<!--warning节点-->
		<xsl:if test="name(.) = 'warning'">
			<div class="warningborder">
				<div class="warning">
					<table cellspacing="0" align="center">
						<tr align="center" valign="middle">
							<td align="center">
								<b>警告</b>
							</td>
						</tr>
						<tr>
							<td>
								<ul>
									<li>
										<span>
											<a name="N10128"/>
											<p class="warnText">
												<xsl:apply-templates select="warningAndCautionPara" mode="para"/>
											</p>
										</span>
									</li>
								</ul>
							</td>
						</tr>
						<tr>
							<td style="lineHeight:2px;" STYLE="font-size:1">
								<div class="hideprint">
									<font height="2px" size="1" color="FFFFFF"/>
								</div>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</xsl:if>
		<!--caution节点-->
		<xsl:if test="name(.) = 'caution'">
			<div class="cautionborder">
				<div class="warning">
					<table cellspacing="0" align="center">
						<tr align="center" valign="middle">
							<td align="center">
								<b>注意</b>
							</td>
						</tr>
						<tr>
							<td>
								<ul>
									<li>
										<span>
											<a name="N10172"/>
											<p class="cautText">
												<xsl:apply-templates select="warningAndCautionPara" mode="para"/>
											</p>
										</span>
									</li>
								</ul>
							</td>
						</tr>
						<tr>
							<td style="lineHeight:2px;" STYLE="font-size:1">
								<div class="hideprint">
									<font height="2px" size="1" color="FFFFFF"/>
								</div>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</xsl:if>
		<!--note节点-->
		<xsl:if test="name(.) = 'note'">
			<!--<p class="noteTitle">提示</p>-->
			<xsl:if test="notePara">
				<div class="noteborder">
					<div class="note">
						<table cellspacing="0" border="0" align="center">
							<tr align="center" valign="middle">
								<td align="center">
									<b>提示</b>
								</td>
							</tr>
							<tr>
								<td>
									<span>
										<xsl:for-each select="notePara">
											<p class="noteText">
												<xsl:apply-templates select="." mode="para"/>
											</p>
										</xsl:for-each>
									</span>
								</td>
							</tr>
							<tr>
								<td style="lineHeight:2px;" STYLE="font-size:1">
									<div class="hideprint">
										<font height="2px" size="1" color="FFFFFF"/>
									</div>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</xsl:if>
		</xsl:if>
	</xsl:template>
	<!--refs内容解析-->
	<xsl:template match="*" mode="refs">
		<p class="titleItalic">{{参考}}</p>
		<!--<a>
		<xsl:attribute name="name"><xsl:value-of select="."/></xsl:attribute>
	</a>-->
		<table cellspacing="0" class="bordered" width="800px">
			<caption class="tableTitle">表 %TABLENO% 参考</caption>
			<colgroup>
				<col/>
				<col/>
			</colgroup>
			<thead>
				<tr>
					<th class="bordered">
						<p class="table">数据模块/技术出版物</p>
					</th>
					<th class="bordered">
						<p class="table">标题</p>
					</th>
				</tr>
			</thead>
			<tbody>
				<xsl:for-each select="dmRef|pmRef|externalPubRef">
					<tr>
						<td class="bordered">
							<p class="table">
								<xsl:if test="name(.) = 'dmRef'">
									<xsl:apply-templates select="." mode="dmRef"/>
								</xsl:if>
								<xsl:if test="name(.) = 'pmRef'">
									<a>
										<xsl:apply-templates select="pmRefIdent/pmCode" mode="pmCode"/>
									</a>
								</xsl:if>
								<xsl:if test="name(.) = 'externalPubRef'">
									<a>
										<xsl:value-of select="externalPubRefIdent/externalPubCode/@pubCodingScheme"/> - 
								<xsl:value-of select="externalPubRefIdent/externalPubCode"/>
									</a>
								</xsl:if>
							</p>
						</td>
						<td class="bordered">
							<p class="table">
								<xsl:if test="name(.) = 'dmRef'">
									<xsl:value-of select="dmRefAddressItems/dmTitle/techName"/> -
						<xsl:value-of select="dmRefAddressItems/dmTitle/infoName"/>
								</xsl:if>
								<xsl:if test="name(.) = 'pmRef'">
									<xsl:value-of select="pmRefAddressItems/pmTitle"/>
								</xsl:if>
								<xsl:if test="name(.) = 'externalPubRef'">
									<xsl:value-of select="externalPubRefIdent/externalPubTitle"/>
								</xsl:if>
							</p>
						</td>
					</tr>
				</xsl:for-each>
			</tbody>
		</table>
	</xsl:template>
	<!--dmRef内容解析-->
	<xsl:template match="*" mode="dmRef">
		<a href="javascript:void(0);" >
				<xsl:attribute name="href">%PATH%/DMC-<xsl:apply-templates select="dmRefIdent/dmCode" mode="dmCode"/>.html<xsl:if test="@referredFragment"><xsl:text>&amp;inner_id=</xsl:text><xsl:value-of select="@referredFragment"/></xsl:if></xsl:attribute>
				<xsl:attribute name="onclick">refDM('<xsl:apply-templates select="dmRefIdent/dmCode" mode="dmCode"/>')</xsl:attribute><xsl:apply-templates select="dmRefIdent/dmCode" mode="dmCode"/>
			<xsl:if test="@referredFragment">
				<xsl:apply-templates select="." mode="dmRef_value"/>
			</xsl:if>
		</a>
	</xsl:template>
	<xsl:template match="*" mode="dmRef_value">
		<xsl:param name="value">
			<xsl:value-of select="@referredFragment"/>
		</xsl:param>
		<xsl:choose>
			<xsl:when test="substring($value,1,3)='par'"> 段落 </xsl:when>
			<xsl:when test="substring($value,1,3)='tab'"> 表格 </xsl:when>
			<xsl:when test="substring($value,1,3)='fig'"> 多媒体 </xsl:when>
		</xsl:choose>
	</xsl:template>
</xsl:stylesheet>
